package com.zjeav.lingjiao.ui.other;

import android.content.Intent;
import android.os.Bundle;
import android.os.Handler;
import android.support.annotation.Nullable;

import com.zjeav.lingjiao.R;
import com.zjeav.lingjiao.base.baseBean.BaseActivity;
import com.zjeav.lingjiao.ui.login.LoginActivty;
import com.zjeav.lingjiao.ui.login.LoginContract;

public class WelcomeActivity extends BaseActivity implements LoginContract.View{
    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.welcome_layout);
        new Handler().postDelayed(new Runnable() {
            public void run() {
                startActivity(new Intent(WelcomeActivity.this, LoginActivty.class));
                finish();
            }
        }, 1500);
    }

    @Override
    public void showError(Throwable throwable) {

    }

    @Override
    public void skipActivity() {

    }

    @Override
    public void dissDiagle() {

    }
}
